home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7603 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: xs1.xs4all.nl!marcone
  2. From: marcone@xs1.xs4all.nl (Marco Nelissen)
  3. Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.programmer
  4. Subject: Re: AUDIO INTERRUPTS!
  5. Followup-To: comp.sys.amiga.hardware,comp.sys.amiga.programmer
  6. Date: 19 Apr 1996 07:17:37 GMT
  7. Organization: XS4ALL Internet
  8. Distribution: world
  9. Message-ID: <4l7emh$ob7@news.xs4all.nl>
  10. References: <4l5ncq$let@sunsystem5.informatik.tu-muenchen.de>
  11. NNTP-Posting-Host: xs1.xs4all.nl
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Juergen "Rally" Fischer (fischerj@informatik.tu-muenchen.de) wrote:
  15. : my prob is that if dma is off, manipulating audXdat won't work.
  16.  
  17. Yes it will.
  18.  
  19. : imho audXdat can be written by cpu, but is no use for anything
  20. : because dma has to be active and the words load from mem interfer...
  21.  
  22. dma does NOT have to be active. If you put a word in AUDxDAT, and set  
  23. a period, the word will be output, and you will get an interrupt. 
  24. If you then store a new word and clear the interrupt, the new word 
  25. will be output and so on. If you stop writing data to AUDxDAT, output
  26. will cease.
  27.  
  28. : Major prob is audio will make one interrupt and you have to
  29. : load _2_ bytes from sampler in that time. ugh.
  30.  
  31. Not a problem at all. Just divide the period by two, and read one 
  32. byte for each interrupt.
  33.  
  34. Marco
  35.